package com.tydic.borderer.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tydic.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@TableName("dxbm_declaration_form")
@Data
public class DeclarationForm extends BaseEntity {
    @Serial
    private static final long serialVersionUID = -672384032705104408L;
    @TableId


    private String id;


    private String declarationNumber;


    private String declarationAgent;


    private String applicant;


    private String declarant;


    private String vehicleCode;


    private String shopNumber;


    private String productGrossWeight;


    private String productNetWeight;


    private String productAmount;


    private String productName;


    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date declarationDate;


    private String marking;


    private String regulationOrganization;


    private String frontierTradeArea;


    private String businessMode;


    private String documentStatus;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd")
    private Date predictCardTime;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd")
    private Date leaveAreaTime;


    private String verification;


    private String sourceCountry;


    private String productAttribute;


    private String transportationMode;


    private String independentDeclaration;


    private String hoistingBusinessMode;


    private String containerNumber;


    private String containerWeight;


    private String trailerCarNumber;


    private String trailerCarWeight;


    private String createBy;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd")
    private Date createDate;


    private String updateBy;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd")
    private Date updateDate;


}
